/**
 * Copyright 2013 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2013-6-21 下午4:24:29
 */
package com.absir.android.view;

import com.absir.android.view.annotation.InjectFlater;
import com.absir.android.view.annotation.InjectFlaters;

/**
 * @author absir
 * 
 */
public class InjectViewFlaters extends InjectViewAbstract {

	/** injectFlaters */
	private InjectFlaters injectFlaters;

	/**
	 * @param injectFlaters
	 */
	public InjectViewFlaters(InjectFlaters injectFlaters) {
		this.injectFlaters = injectFlaters;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.absir.android.view.InjectViewAbstract#injectExcutor(com.absir.android
	 * .view.InjectExcutorObject)
	 */
	@Override
	public void injectExcutor(InjectExcutorObject<Object> injectExcutorObject) {
		// TODO Auto-generated method stub
		for (InjectFlater injectFlater : injectFlaters.value()) {
			InjectViewFlater.injectFlaterView(injectExcutorObject, injectFlater, null);
		}
	}

}
